import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入axios 
import axios from 'axios'
// 方式1
// Vue.prototype.$axios = axios;
// 
// 2vue的use加载axios   npm i vue-axios --save
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')